<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DouPHP 管理中心 - 文章列表 </title>
<meta name="Copyright" content="Douco Design." />
<link href="css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/global.js"></script>
<script type="text/javascript" src="js/jquery.autotextarea.js"></script>
</head>
<body>
<div id="dcWrap">
 <div id="dcHead">
 <div id="head">
  <div class="logo"><a href="index.php"><img src="images/dclogo.gif" alt="logo"></a></div>
  <div class="nav">
   <ul>
    <li class="M"><a href="JavaScript:void(0);" class="topAdd">新建</a>
     <div class="drop mTopad"><a href="product.php?rec=add">商品</a> <a href="article.php?rec=add">文章</a> <a href="nav.php?rec=add">自定义导航</a> <a href="show.html">首页幻灯</a> <a href="page.php?rec=add">单页面</a> <a href="manager.php?rec=add">管理员</a> <a href="link.html"></a> </div>
    </li>
    <li><a href="../index.php" target="_blank">查看站点</a></li>
    <li><a href="index.php?rec=clear_cache">清除缓存</a></li>
    <li><a href="http://help.douco.com" target="_blank">帮助</a></li>
    <li class="noRight"><a href="module.php">DouPHP+</a></li>
   </ul>
   <ul class="navRight">
    <li class="M noLeft"><a href="JavaScript:void(0);">您好，admin</a>
     <div class="drop mUser">
      <a href="manager.php?rec=edit&id=1">编辑我的个人资料</a>
      <a href="manager.php?rec=cloud_account">设置云账户</a>
     </div>
    </li>
    <li class="noRight"><a href="login.php?rec=logout">退出</a></li>
   </ul>
  </div>
 </div>
</div>
<!-- dcHead 结束 --> <div id="dcLeft">
 <?php 
   include "Left.php"
 ?>  
 </div>
 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>文章分类</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3><a href="add_article_category.php?rec=add" class="actionBtn add">添加分类</a>走进元通</h3>
   
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
     <tr>
      <th width="120" align="left">分类名称</th>
       <th align="left">简单描述</th>
       <th width="60" align="center">排序</th>
       <th width="80" align="center">操作</th>
     </tr>
         <?php foreach ($row as $low)
         {
         ?>
      <tr>
        <td align="left"> <a href=""><?php echo $low["biaoti"]  ?></a></td>
        <td> <?php echo $low['txet']?></td>
        <td align="center"><?php echo $low["mp4url"]?></td>
        <td align="center"><a href="">编辑</a> | <a href="Delart.php?id=<?php echo $low["id"]  ?>">删除</a></td>
       </tr>
         <?php
           }
          ?>
     </table>
    <br/>
               <h3>轮胎品牌</h3>
             
                 <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">      
             <tr>
        <th >品牌名称</th>
        <th>品牌LOGO</th>
        <th>品牌链接</th>
        <th>1是0否显示</th>
        <th>操作</th>
      </tr>   <form action="addarticle.php" method="post">
      <tr>
          <td align="center"> <input name="name" style="width: 150px; border: 1px solid #009ceb;"></td>
          <td align="center"><input name="imgurl"  type="file" style="width: 150px; border: 1px solid #009ceb;"></td>
          <td align="center"><input name="linkurl"  type="text" style="width: 150px; border: 1px solid #009ceb;"></td>
          <td align="center"><input name="isshow"  type="text" style="width: 150px; border: 1px solid #009ceb;"></td>
          <td align="center"><input name="ok" class="btn" type="submit" value="提交" /></td>
          
      </tr> </form>
    </table>
    <br/>
         <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">      
      
             <tr>
        <th >品牌名称</th>
        <th>品牌LOGO</th>
        <th>品牌链接</th>
        <th>排序</th>
        <th>操作</th>
      </tr> 
      <?php
                        foreach($lrows as $row)   
               {?>
       <tr>
        <td align="center"> <?php echo $row['../name']  ?></td>
        <td align="center"><img src="<?php echo$row['../imgurl']?>"></td>
        <td align="center"><?php echo$row['../linkurl']?></td>
        <td align="center"><?php echo $row["../id"]?></td>
        <td align="center"><a href="uparticle.php?id=<?php echo $row["../id"]  ?>">编辑</a> | <a href="Delart.php?id=<?php echo $row["../id"]  ?>">删除</a></td>
               </tr>
               <?php  }?>
         </table>
              </div>
 </div>
 <div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
   版权所有 © 2013-2015 漳州豆壳网络科技有限公司，并保留所有权利。
  </ul>
 </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>